using System;
using System.Collections.Generic;
using System.Text;
using System.Transactions;
using SimpleFS.Core;

namespace SimpleFS.Services.Transactions
{
    public interface IResourceManager : IEnlistmentNotification, IDisposable
    {
        void Enlist();

        bool IsEnlisted();

        void WriteRedoLog(ITransactableOperation operation);

        void WriteUndoLog(ITransactableOperation operation);
    }
}
